package team.freeroom.hotelmanage.repository.entity;

/**
 * 房间类型实体类
 */
public class RoomType {
    /**
     * ID
     */
    private Long id;
    /**
     * 房型名称
     */
    private String name;
    /**
     * 价格
     */
    private Float price;
    /**
     * 可住人数
     */
    private Integer liveNum;
    /**
     * 床位数
     */
    private Integer bedNum;
    /**
     * 房间总数
     */
    private Integer roomNum;
    /**
     * 空闲房间数量
     */
    private Integer avilableNum;
    /**
     * 入住数量
     */
    private Integer livedNum;
    /**
     * 状态，0：房型已满, 1:可预订可入住
     */
    private int status;
    /**
     * 备注
     */
    private String remark;

    @Override
    public String toString() {
        return "RoomType{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", price=" + price +
                ", liveNum=" + liveNum +
                ", bedNum=" + bedNum +
                ", roomNum=" + roomNum +
                ", avilableNum=" + avilableNum +
                ", livedNum=" + livedNum +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                '}';
    }

    public RoomType() {
    }

    public RoomType(String name, Float price, Integer liveNum, Integer bedNum, Integer roomNum, Integer avilableNum, Integer livedNum, int status, String remark) {
        this.name = name;
        this.price = price;
        this.liveNum = liveNum;
        this.bedNum = bedNum;
        this.roomNum = roomNum;
        this.avilableNum = avilableNum;
        this.livedNum = livedNum;
        this.status = status;
        this.remark = remark;
    }

    public RoomType(Long id, String name, Float price, Integer liveNum, Integer bedNum, Integer roomNum, Integer avilableNum, Integer livedNum, int status, String remark) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.liveNum = liveNum;
        this.bedNum = bedNum;
        this.roomNum = roomNum;
        this.avilableNum = avilableNum;
        this.livedNum = livedNum;
        this.status = status;
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getLiveNum() {
        return liveNum;
    }

    public void setLiveNum(Integer liveNum) {
        this.liveNum = liveNum;
    }

    public Integer getBedNum() {
        return bedNum;
    }

    public void setBedNum(Integer bedNum) {
        this.bedNum = bedNum;
    }

    public Integer getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(Integer roomNum) {
        this.roomNum = roomNum;
    }

    public Integer getAvilableNum() {
        return avilableNum;
    }

    public void setAvilableNum(Integer avilableNum) {
        this.avilableNum = avilableNum;
    }

    public Integer getLivedNum() {
        return livedNum;
    }

    public void setLivedNum(Integer livedNum) {
        this.livedNum = livedNum;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
